package com.warrior.controller;

import com.warrior.util.WxChatAuthTools;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Shawn on 2017/3/24.
 */
@Controller
@RequestMapping("/wx")
public class WxController {

    private static final Logger logger = LogManager.getLogger(WxController.class.getName());


    @RequestMapping(value = "/returnCode",method = RequestMethod.GET)
    @ResponseBody
    public String returnCode(String CODE){
        return CODE;
    }

}
